﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using BCCommon.TMS.Transport;

namespace BCDto.TMS.VehicleBusinessMapping
{
    /// <summary>
    /// 车辆与业务配置
    /// </summary>
    public class VehicleBusinessMappingRequestDto
    {
        /// <summary>
        /// 车辆运输业务配置Id
        /// </summary>		
        [Display(Name = "车辆运输业务配置Id")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public int VehicleTransportBusinessConfigId { get; set; }
        /// <summary>
        /// 车辆类型Id
        /// </summary>		
        [Display(Name = "车辆类型Id")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public int VehicleTypeId { get; set; }
        /// <summary>
        /// 车辆类型备注
        /// </summary>		
        [Display(Name = "车辆类型备注")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public string VehicleTypeRemark { get; set; }
        /// <summary>
        /// 跟车人数量
        /// </summary>
        [Display(Name = "跟车人数量")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public int MaxWithCarPeople { get; set; }

        /// <summary>
        /// 车辆分类对应Id
        /// </summary>
        [Display(Name = "车辆分类对应Id")]
        public int? VehicleCategoryReferenceId { get; set; }
    }
}

